package com.carleasoft.mps.cms.business.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.cms.business.user.bean.UserSkill;
import com.carleasoft.mps.cms.business.user.bean.UserSkillType;
import com.carleasoft.mps.cms.business.user.bean.po.UserSkillPo;
import com.carleasoft.mps.cms.business.user.bean.vo.*;
import com.carleasoft.mps.cms.business.write.bean.vo.UserListVos;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zang
 * @since 2023-05-25
 */
public interface UserSkillService extends IService<UserSkill> {

    Page<UserSkill> pageUserSkill(Page page, UserSkillPo userSkillPo);

    List<UserSkill> getUserSkillTypeList(UserSkill userSkill);

    Boolean saveUserSkill(UserSkill userSkill);

    Boolean updateUserSkill(UserSkill userSkill);

    void deleteUserSkill(UserSkill userSkill);

    SkillTypeListVo skillTypeList(UserSkillPo userSkillPo);

    TechnologyVo technology(UserSkillPo userSkillPo);

    HeightAndWeightVo heightAndWeight(UserSkillPo userSkillPo);

    SkillVo skill(UserSkillPo userSkillPo);

    AgeCountVo ageCount(UserSkillPo userSkillPo);

    MarriageVo marriage(UserSkillPo userSkillPo);

    EducationCountVo educationCount(UserSkillPo userSkillPo);

    SkillVo commandCount(UserSkillPo userSkillPo);

    UserCountVo userCount();

    List<UserListVos> deptCodeByUserList(UserSkill userSkill);

    List<DeptCountVo> deptCount(UserSkillPo userSkillPo);
}
